<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>XMind Viewer</title>
  <style>
    html,
    body {
      margin: 0;
      padding: 0;
    }

    #app {
      width: 100vw;
      height: 100vh;
    }

    #header {
      display: flex;
      gap: 20px;
    }

    .title {
      font-size: large;
      font-weight: bold;
    }
  </style>
</head>

<body>
  <div id="app"></div>
  <div id="header">
    <div>
      <span class="title">XMind-Viewer</span>
      <a href="https://gitee.com/hyjiacan/xmind-viewer" target="_blank">源码</a>
    </div>
    <label>
      <span>选择 XMind 文件</span>
      <input type="file" id="file" />
    </label>
  </div>
  <script src="main.js" type="module"></script>
</body>

</html>